<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<php>
						if($u == $userInfo->id){
					</php>
					<div class="app_face">
						<img src="__PUBLIC__/Uploads//face/small/{$userInfo:faceimg}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">我的好友</p>
						<p class = "app_module_back"><a href="__APP__/user">返回我的空间</a></p>
					</div>
					<php>}else{</php>
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo:faceimg}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">{$userInfo:username}的好友</p>
						<p class = "app_module_back"><a href="__APP__/home/{.u}">查看{$userInfo:username}的空间</a></p>
					</div>
					<php>}</php>
				</div>
				<div class="app_right_menu">
					<div class="arm_1">
						好友列表
					</div>
					<div class="arm_2">
						<a href="__URL__/invitefriend">邀请好友</a>					
					</div>
				</div>
				<div class="app_right_count">
					好友{$page}
				</div>
				<div>
					<div class="app_right_left">
						<div class="friendshow">
							<ul>
								<volist name="friendlist" id="friend">
								<li>
									<div class="friendbody">
										<div class="friendface">
											<img src="__PUBLIC__/Uploads/face/small/{$friend:faceimg}" width="60px" height="60px"/>
										</div>
										<div class="friendcontent">
											<p class="strong text14">
												<a href="__APP__/home/{$friend:friendid}">{$friend:username}</a>({$friend:network_city})
											</p>
											<p>
												<a href="__APP__/hello/{$friend:friendid}" class="sayhello">打招呼</a> | <a href="__APP__/write/{$friend:friendid}">发私信</a> 
												<php>if($u == $userInfo->id){</php>
												| <a href="__APP__/delfriend/{$friend:friendid}" class="friendaction">删除好友</a>
												<php>}</php>
											</p>
											<p>
												<a href="__APP__/minis/{$friend:friendid}">最新状态</a>: <php>print getLastMini($friend->friendid);</php>
											</p>
										</div>
									</div>
								</li>
								</volist>
								<li>
									{$page}
								</li>
							</ul>
						</div>
					</div>
					<div class="app_right_right">
					  	<ul>
					  	<li>
					  		好友分布
					  	</li>
					  	</ul>
					</div>
				</div>
			</div>
<include file="Public:footer" />